﻿using System;
using System.Windows.Forms;

namespace WorkbookDesigner.Addons.WorkbookExplorer
{
    public partial class BaseButtonPanel : UserControl
    {
        internal EventHandler OkClick;
        internal EventHandler ResetClick;

        public BaseButtonPanel()
        {
            InitializeComponent();
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            OkClick?.Invoke(sender, e);
        }

        private void buttonReSet_Click(object sender, EventArgs e)
        {
            ResetClick?.Invoke(sender, e);
        }
    }
}